<?php self::link_script('jquery.form'); ?>
<?php self::link_third_script('jquery_ui/js/jquery-ui'); ?>
<?php self::link_third_script('My97DatePicker/WdatePicker'); ?>
<?php self::link_third_style('My97DatePicker/skin/WdatePicker'); ?>
<?php self::link_script('jquery.tools.min'); ?>

<div class="rightRow1">新增培训经历（<span class="org14">*</span>为必填项）</div>
<form name="frmMain" action="<?php self::csrf_url('user', $_action); ?>" id="form-training" method="post">

    <!-- 培训经历 -->
    <table class="table5" border="0" cellpadding="0" cellspacing="0" width="100%">
        <colgroup><col width="1"><col width="110"><col></colgroup>
        <tbody>
            <tr>
                <td><font class="org14">*</font></td>
                <td>时间</td>
                <td>
                    <input type="text" value="<?php if ($_show): ?><?php echo training_model::format_time($_training->start_time) ?><?php endif; ?>" name="start_time" class="Wdate" onClick="WdatePicker()"> 至 
                    <span>
                        <input type="text"  value="<?php if ($_show): ?><?php echo training_model::format_time($_training->end_time) ?><?php endif; ?>" name="end_time" class="Wdate" onClick="WdatePicker()">
                    </span>
                </td>
            </tr>
            <tr id="conError_start_time" style="display:none;"><td></td><td></td><td class="org12 formError" id="txtError_start_time"></td></tr>
            <tr id="conError_end_time" style="display:none;"><td></td><td></td><td class="org12 formError" id="txtError_end_time"></td></tr>

            <tr>
                <td><font class="org14">*</font></td>
                <td>培训机构</td>
                <td>
                    <input class=" classFormEle_ok" value="<?php if ($_show): ?><?php echo $_training->name ?><?php endif; ?>" name="name" size="68" id="institution" type="text">
                </td>
            </tr>
            <tr id="conError_name" style="display:none;">
                <td></td>
                <td></td>
                <td class="org12 formError" id="txtError_name"></td>
            </tr>

            <tr>
                <td></td>
                <td>培训地点</td>
                <td><input value="<?php if ($_show): ?><?php echo $_training->address ?><?php endif; ?>" name="address" size="68" id="city" type="text"></td>
            </tr>
            <tr id="conError_address" style="display:none;"><td></td><td></td><td class="org12 formError" id="txtError_address"></td></tr>

            <tr>
                <td><font class="org14">*</font></td>
                <td>培训课程</td>
                <td><input class=" classFormEle_ok" value="<?php if ($_show): ?><?php echo $_training->course ?><?php endif; ?>" name="course" size="68" id="course" type="text"></td>
            </tr>
            <tr id="conError_course" style="display:none;"><td></td><td></td><td class="org12 formError" id="txtError_course"></td></tr>

            <tr><td></td>
                <td>获得证书</td>
                <td><input value="<?php if ($_show): ?><?php echo $_training->certificate ?><?php endif; ?>" name="certificate" size="68" id="certificate" mzpmodule="resumeChEnFac" tiptext="" lang="en" type="text"></td></tr>
            <tr id="conError_certificate" style="display:none;"><td></td><td></td><td class="org12 formError" id="txtError_certificate"></td></tr>

            <tr><td></td>
                <td valign="top">详细描述</td>
                <td><textarea name="introduction" cols="95" rows="8"  id="introduction" ><?php if ($_show): ?><?php echo $_training->introduction; ?><?php endif; ?></textarea></td></tr>
            <tr id="conError_introduction" style="display:none;"><td></td><td></td><td class="org12 formError" id="txtError_introduction"></td></tr>

            <tr>
                <td></td>
                <td></td>
                <td>
                    <span class="grey12">
                        范例一：<a href="javascript:void(0);"><img src="http://myimg.zhaopin.com/images/new_v3/iconquestion2.gif" id="eg1Img" showWith="eg1" align="absmiddle" border="0"></a>
                        <div style="display: none; width: 350px; color: black;" class="popupDiv" id="eg1">
                            <div class="topLeft"><img width="1" height="1" src=""></div><div style="width:334px;" class="topCenterWhite"><img width="1" height="1" src=""></div><div class="topRight"><img width="1" height="1" src=""></div>
                            <div class="content"><div style="padding:0 10px 5px 10px;line-height:150%;">
                                    <table cellspacing="0" cellpadding="0" border="0" style="line-height:120%;">
                                        <tbody><tr><td width="1%" nowrap="nowrap">培训机构：</td>
                                                <td>Adobe认证培训</td></tr>
                                            <tr><td width="1%" nowrap="nowrap">培训课程：</td>
                                                <td>Photoshop ImageReady</td></tr>
                                            <tr><td width="1%" valign="top" nowrap="nowrap">培训描述：</td>
                                                <td>通过这个培训，我更好地掌握了Photoshop的软件知识，并得到了多次实际操作经验，更重要的是学会了如何从设计师的角度去观察世界。</td></tr></tbody></table></div>
                            </div>
                            <div class="bottomLeft"><img width="1" height="1" src=""></div><div style="width:334px;" class="bottomCenter"><img width="1" height="1" src=""></div><div class="bottomRight"><img width="1" height="1" src=""></div>
                        </div>
                        &nbsp;&nbsp;
                        范例二：<a href="javascript:void(0);"><img src="http://myimg.zhaopin.com/images/new_v3/iconquestion2.gif" id="eg2Img" showWith="eg2" align="absmiddle" border="0"></a>
                        <div style="display: none; width:300px; color: black;" class="popupDiv" id="eg2">
                            <div class="topLeft"><img width="1" height="1" src=""></div><div style="width:284px;" class="topCenterWhite"><img width="1" height="1" src=""></div><div class="topRight"><img width="1" height="1" src=""></div>
                            <div class="content"><div style="padding:0 10px 5px 10px;line-height:150%;">
                                    <table cellspacing="0" cellpadding="0" border="0" style="line-height:120%;">
                                        <tbody><tr><td width="1%" nowrap="nowrap">培训机构：</td>
                                                <td>文化信息教育培训机构</td></tr>
                                            <tr><td width="1%" nowrap="nowrap">培训课程：</td>
                                                <td>对外J2EE国际软件工程师</td></tr>
                                            <tr><td width="1%" valign="top" nowrap="nowrap">培训描述：</td>
                                                <td>由浅入深地学习了以Java为核心的企业级软件开发技术，包括：Java基础、J2EE（JSP、servlet、EJB、JDBC等）、UML、数据库、项目管理、软件测试等。课程的核心教学方法是基于实际的项目的学习（PBLA）。通过几个月的培训，我熟练掌握了J2EE程序开发语言，并获得了多次实际项目的操作经验。另外，外语水平也得到了提高。</td></tr></tbody></table></div>
                            </div>
                            <div class="bottomLeft"><img width="1" height="1" src=""></div><div style="width:284px;" class="bottomCenter"><img width="1" height="1" src=""></div><div class="bottomRight"><img width="1" height="1" src=""></div>
                        </div>
                        &nbsp;&nbsp;
                        （<span id="maxWord2">可输入<span class="remained"><?php echo training_model::introduction_length ?></span>个字</span>
                    </span>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- end 培训经历 -->
    <div class="btnCon"><input type="submit" name="add" value="保存并新增培训经历" class="btn5">&nbsp;&nbsp;&nbsp;<input class="btn7" name="save" value="保存" title="保存" type="submit">&nbsp;&nbsp;<a href="<?php self::php_url($_return_url); ?>">返回</a><span class="msg_hint">&nbsp;</span></div>
</form>
